const Controller = require('egg').Controller;

class SystemController extends Controller {
  async test() {
    const user = await this.ctx.service.system.getRoleByUser();
    this.ctx.body = user;
  }
}

module.exports = SystemController;
